<!DOCTYPE html>

















































<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

  <meta name="description" content="Javadoc API documentation for Fresco." />

<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
<title>

  GenericDraweeHierarchy - Fresco API


| Fresco

</title>
<link href="../../../../../assets/doclava-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../../../../../assets/customizations.css" rel="stylesheet" type="text/css" />
<script src="../../../../../assets/search_autocomplete.js" type="text/javascript"></script>
<script src="../../../../../assets/jquery-resizable.min.js" type="text/javascript"></script>
<script src="../../../../../assets/doclava-developer-docs.js" type="text/javascript"></script>
<script src="../../../../../assets/prettify.js" type="text/javascript"></script>
<script type="text/javascript">
  setToRoot("../../../../", "../../../../../assets/");
</script>
<script src="../../../../../assets/doclava-developer-reference.js" type="text/javascript"></script>
<script src="../../../../../assets/navtree_data.js" type="text/javascript"></script>
<script src="../../../../../assets/customizations.js" type="text/javascript"></script>
<noscript>
  <style type="text/css">
    html,body{overflow:auto;}
    #body-content{position:relative; top:0;}
    #doc-content{overflow:visible;border-left:3px solid #666;}
    #side-nav{padding:0;}
    #side-nav .toggle-list ul {display:block;}
    #resize-packages-nav{border-bottom:3px solid #666;}
  </style>
</noscript>
</head>

<body class="">

<div id="header">
    <div id="headerLeft">
    
      <span id="masthead-title">Fresco</span>
    
    </div>
    <div id="headerRight">
      
  <div id="search" >
      <div id="searchForm">
          <form accept-charset="utf-8" class="gsc-search-box" 
                onsubmit="return submit_search()">
            <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody>
                <tr>
                  <td class="gsc-input">
                    <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off"
                      title="search developer docs" name="q"
                      value="search developer docs"
                      onFocus="search_focus_changed(this, true)"
                      onBlur="search_focus_changed(this, false)"
                      onkeydown="return search_changed(event, true, '../../../../')"
                      onkeyup="return search_changed(event, false, '../../../../')" />
                  <div id="search_filtered_div" class="no-display">
                      <table id="search_filtered" cellspacing=0>
                      </table>
                  </div>
                  </td>
                  <td class="gsc-search-button">
                    <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" />
                  </td>
                  <td class="gsc-clear-button">
                    <div title="clear results" class="gsc-clear-button">&nbsp;</div>
                  </td>
                </tr></tbody>
              </table>
          </form>
      </div><!-- searchForm -->
  </div><!-- search -->
      
    </div>
</div><!-- header -->


  <div class="g-section g-tpl-240" id="body-content">
    <div class="g-unit g-first side-nav-resizable" id="side-nav">
      <div id="swapper">
        <div id="nav-panels">
          <div id="resize-packages-nav">
            <div id="packages-nav">
              <div id="index-links">
                <a href="../../../../packages.html"  >Package Index</a> | 
                <a href="../../../../classes.html" >Class Index</a>
              </div>
              <ul>
                
    <li class="api apilevel-">
  <a href="../../../../com/facebook/binaryresource/package-summary.html">com.facebook.binaryresource</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/cache/common/package-summary.html">com.facebook.cache.common</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/cache/disk/package-summary.html">com.facebook.cache.disk</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/common/disk/package-summary.html">com.facebook.common.disk</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/common/internal/package-summary.html">com.facebook.common.internal</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/common/logging/package-summary.html">com.facebook.common.logging</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/common/memory/package-summary.html">com.facebook.common.memory</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/common/references/package-summary.html">com.facebook.common.references</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/datasource/package-summary.html">com.facebook.datasource</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/drawee/backends/pipeline/package-summary.html">com.facebook.drawee.backends.pipeline</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/drawee/backends/volley/package-summary.html">com.facebook.drawee.backends.volley</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/drawee/controller/package-summary.html">com.facebook.drawee.controller</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/drawee/drawable/package-summary.html">com.facebook.drawee.drawable</a></li>
    <li class="selected api apilevel-">
  <a href="../../../../com/facebook/drawee/generic/package-summary.html">com.facebook.drawee.generic</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/drawee/interfaces/package-summary.html">com.facebook.drawee.interfaces</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/drawee/view/package-summary.html">com.facebook.drawee.view</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/animated/base/package-summary.html">com.facebook.imagepipeline.animated.base</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/animated/factory/package-summary.html">com.facebook.imagepipeline.animated.factory</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/animated/impl/package-summary.html">com.facebook.imagepipeline.animated.impl</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/animated/util/package-summary.html">com.facebook.imagepipeline.animated.util</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/backends/okhttp3/package-summary.html">com.facebook.imagepipeline.backends.okhttp3</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/bitmaps/package-summary.html">com.facebook.imagepipeline.bitmaps</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/cache/package-summary.html">com.facebook.imagepipeline.cache</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/common/package-summary.html">com.facebook.imagepipeline.common</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/core/package-summary.html">com.facebook.imagepipeline.core</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/datasource/package-summary.html">com.facebook.imagepipeline.datasource</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/decoder/package-summary.html">com.facebook.imagepipeline.decoder</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/image/package-summary.html">com.facebook.imagepipeline.image</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/listener/package-summary.html">com.facebook.imagepipeline.listener</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/memory/package-summary.html">com.facebook.imagepipeline.memory</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/producers/package-summary.html">com.facebook.imagepipeline.producers</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/facebook/imagepipeline/request/package-summary.html">com.facebook.imagepipeline.request</a></li>
              </ul><br/>
            </div> <!-- end packages -->
          </div> <!-- end resize-packages -->
          <div id="classes-nav">
            <ul>
              
              
    <li><h2>Classes</h2>
      <ul>
          <li class="selected api apilevel-"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html">GenericDraweeHierarchy</a></li>
          <li class="api apilevel-"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchyBuilder.html">GenericDraweeHierarchyBuilder</a></li>
          <li class="api apilevel-"><a href="../../../../com/facebook/drawee/generic/RoundingParams.html">RoundingParams</a></li>
      </ul>
    </li>
              
              
    <li><h2>Enums</h2>
      <ul>
          <li class="api apilevel-"><a href="../../../../com/facebook/drawee/generic/RoundingParams.RoundingMethod.html">RoundingParams.RoundingMethod</a></li>
      </ul>
    </li>
              
              
            </ul><br/>
          </div><!-- end classes -->
        </div><!-- end nav-panels -->
        <div id="nav-tree" style="display:none">
          <div id="index-links">
            <a href="../../../../packages.html"  >Package Index</a> | 
            <a href="../../../../classes.html" >Class Index</a>
          </div>
        </div><!-- end nav-tree -->
      </div><!-- end swapper -->
    </div> <!-- end side-nav -->
    <script>
      if (!isMobile) {
        $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav");
        chooseDefaultNav();
        if ($("#nav-tree").is(':visible')) {
          init_default_navtree("../../../../");
        } else {
          addLoadEvent(function() {
            scrollIntoView("packages-nav");
            scrollIntoView("classes-nav");
          });
        }
        $("#swapper").css({borderBottom:"2px solid #aaa"});
      } else {
        swapNav(); // tree view should be used on mobile
      }
    </script>



<div class="g-unit" id="doc-content">

<div id="api-info-block">



  
   
  
  
  
  

  
   
  
  
  
  

  
   
  
  
  
  


<div class="sum-details-links">


Summary:











  <a href="#pubmethods">Methods</a>
  



  &#124; <a href="#inhmethods">Inherited Methods</a>

&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>

</div><!-- end sum-details-links -->
<div class="api-level">
  


  
  

</div>
</div><!-- end api-info-block -->


<!-- ======== START OF CLASS DATA ======== -->

<div id="jd-header">
    public
     
     
    
    class
<h1>GenericDraweeHierarchy</h1>



  
    extends Object<br/>
  
  
  

  
  
      implements 
      
        <a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html">SettableDraweeHierarchy</a> 
      
  
  


</div><!-- end header -->

<div id="naMessage"></div>

<div id="jd-content" class="api apilevel-">
<table class="jd-inheritance-table">


    <tr>
         	
        <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
    </tr>
    

    <tr>
        
            <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
         	
        <td colspan="1" class="jd-inheritance-class-cell">com.facebook.drawee.generic.GenericDraweeHierarchy</td>
    </tr>
    

</table>







<div class="jd-descr">


<h2>Class Overview</h2>
<p>A SettableDraweeHierarchy that displays placeholder image until the actual image is set.
 If provided, failure image will be used in case of failure (placeholder otherwise).
 If provided, retry image will be used in case of failure when retrying is enabled.
 If provided, progressbar will be displayed until fully loaded.
 Each image can be displayed with a different scale type (or no scaling at all).
 Fading between the layers is supported. Rounding is supported.

 <p>
 Example hierarchy with a placeholder, retry, failure and the actual image:
  <pre>
  o RootDrawable (top level drawable)
  |
  +--o FadeDrawable
     |
     +--o ScaleTypeDrawable (placeholder branch, optional)
     |  |
     |  +--o Drawable (placeholder image)
     |
     +--o ScaleTypeDrawable (actual image branch)
     |  |
     |  +--o ForwardingDrawable (actual image wrapper)
     |     |
     |     +--o Drawable (actual image)
     |
     +--o null (progress bar branch, optional)
     |
     +--o Drawable (retry image branch, optional)
     |
     +--o ScaleTypeDrawable (failure image branch, optional)
        |
        +--o Drawable (failure image)
  </pre>

 <p>
 Note:
 <ul>
 <li> RootDrawable and FadeDrawable are always created.
 <li> All branches except the actual image branch are optional (placeholder, failure, retry,
 progress bar). If some branch is not specified it won't be created. Index in FadeDrawable will
 still be reserved though.
 <li> If overlays and/or background are specified, they are added to the same fade drawable, and
 are always being displayed.
 <li> ScaleType and Matrix transformations will be added only if specified. If both are
 unspecified, then the branch for that image is attached to FadeDrawable directly. Matrix
 transformation is only supported for the actual image, and it is not recommended to be used.
 <li> Rounding, if specified, is applied to all layers. Rounded drawable can either wrap
 FadeDrawable, or if leaf rounding is specified, each leaf drawable will be rounded separately.
 <li> A particular drawable instance should be used by only one DH. If more than one DH is being
 built with the same builder, different drawable instances must be specified for each DH.
 </ul>
</p>





</div><!-- jd-descr -->
















<div class="jd-descr">


<h2>Summary</h2>



























<!-- ========== METHOD SUMMARY =========== -->
<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>



	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#getActualImageBounds(android.graphics.RectF)">getActualImageBounds</a></span>(RectF outBounds)
        
        <div class="jd-descrdiv">Gets the non-cropped post-scaling bounds of the actual image.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a>
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#getActualImageScaleType()">getActualImageScaleType</a></span>()
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            int
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#getFadeDuration()">getFadeDuration</a></span>()
        
        <div class="jd-descrdiv">Gets the fade duration.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            <a href="../../../../com/facebook/drawee/generic/RoundingParams.html">RoundingParams</a>
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#getRoundingParams()">getRoundingParams</a></span>()
        
        <div class="jd-descrdiv">Gets the rounding params.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            Drawable
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#getTopLevelDrawable()">getTopLevelDrawable</a></span>()
        
        <div class="jd-descrdiv">Returns the top level drawable in the corresponding hierarchy.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            boolean
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#hasPlaceholderImage()">hasPlaceholderImage</a></span>()
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#reset()">reset</a></span>()
        
        <div class="jd-descrdiv">Called by controller when the hierarchy should be reset to its initial state.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setActualImageColorFilter(android.graphics.ColorFilter)">setActualImageColorFilter</a></span>(ColorFilter colorfilter)
        
        <div class="jd-descrdiv">Sets the color filter to be applied on the actual image.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setActualImageFocusPoint(android.graphics.PointF)">setActualImageFocusPoint</a></span>(PointF focusPoint)
        
        <div class="jd-descrdiv">Sets the actual image focus point.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setActualImageScaleType(com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setActualImageScaleType</a></span>(<a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets the actual image scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setBackgroundImage(android.graphics.drawable.Drawable)">setBackgroundImage</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Sets the background image if allowed.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setControllerOverlay(android.graphics.drawable.Drawable)">setControllerOverlay</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Called by controller if it needs to display some controller overlay.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setFadeDuration(int)">setFadeDuration</a></span>(int durationMs)
        
        <div class="jd-descrdiv">Sets the fade duration.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setFailure(java.lang.Throwable)">setFailure</a></span>(Throwable throwable)
        
        <div class="jd-descrdiv">Called by controller when the future that provides the actual image completes with failure.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setFailureImage(android.graphics.drawable.Drawable)">setFailureImage</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Sets a new failure drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setFailureImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setFailureImage</a></span>(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new failure drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setFailureImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setFailureImage</a></span>(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new failure drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setFailureImage(int)">setFailureImage</a></span>(int resourceId)
        
        <div class="jd-descrdiv">Sets a new failure drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setImage(android.graphics.drawable.Drawable, float, boolean)">setImage</a></span>(Drawable drawable, float progress, boolean immediate)
        
        <div class="jd-descrdiv">Called by controller when the future that provides the actual image completes successfully.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setOverlayImage(int, android.graphics.drawable.Drawable)">setOverlayImage</a></span>(int index, Drawable drawable)
        
        <div class="jd-descrdiv">Sets a new overlay image at the specified index.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setOverlayImage(android.graphics.drawable.Drawable)">setOverlayImage</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Sets the overlay image if allowed.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setPlaceholderImage(android.graphics.drawable.Drawable)">setPlaceholderImage</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Sets a new placeholder drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setPlaceholderImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setPlaceholderImage</a></span>(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new placeholder drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setPlaceholderImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setPlaceholderImage</a></span>(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new placeholder drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setPlaceholderImage(int)">setPlaceholderImage</a></span>(int resourceId)
        
        <div class="jd-descrdiv">Sets a new placeholder drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setPlaceholderImageFocusPoint(android.graphics.PointF)">setPlaceholderImageFocusPoint</a></span>(PointF focusPoint)
        
        <div class="jd-descrdiv">Sets the placeholder image focus point.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setProgress(float, boolean)">setProgress</a></span>(float progress, boolean immediate)
        
        <div class="jd-descrdiv">Called by controller to update the progress.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setProgressBarImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setProgressBarImage</a></span>(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new progress bar drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setProgressBarImage(android.graphics.drawable.Drawable)">setProgressBarImage</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Sets a new progress bar drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setProgressBarImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setProgressBarImage</a></span>(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new progress bar drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setProgressBarImage(int)">setProgressBarImage</a></span>(int resourceId)
        
        <div class="jd-descrdiv">Sets a new progress bar drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setRetry(java.lang.Throwable)">setRetry</a></span>(Throwable throwable)
        
        <div class="jd-descrdiv">Called by controller when the future that provides the actual image completes with failure,
 but the controller is prepared to kick off a retry when the user clicks on the image.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setRetryImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setRetryImage</a></span>(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new retry drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setRetryImage(int)">setRetryImage</a></span>(int resourceId)
        
        <div class="jd-descrdiv">Sets a new retry drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setRetryImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)">setRetryImage</a></span>(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)
        
        <div class="jd-descrdiv">Sets a new retry drawable with scale type.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setRetryImage(android.graphics.drawable.Drawable)">setRetryImage</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Sets a new retry drawable with old scale type.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/generic/GenericDraweeHierarchy.html#setRoundingParams(com.facebook.drawee.generic.RoundingParams)">setRoundingParams</a></span>(<a href="../../../../com/facebook/drawee/generic/RoundingParams.html">RoundingParams</a> roundingParams)
        
        <div class="jd-descrdiv">Sets the rounding params.</div>
  
  </td></tr>



</table>







<!-- ========== METHOD SUMMARY =========== -->
<table id="inhmethods" class="jd-sumtable"><tr><th>
  <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
  <div style="clear:left;">Inherited Methods</div></th></tr>


<tr class="api apilevel-" >
<td colspan="12">
  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
          ><img id="inherited-methods-java.lang.Object-trigger"
          src="../../../../../assets/images/triangle-closed.png"
          class="jd-expando-trigger-img" /></a>
From class

  java.lang.Object

<div id="inherited-methods-java.lang.Object">
  <div id="inherited-methods-java.lang.Object-list"
        class="jd-inheritedlinks">
  </div>
  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
    <table class="jd-sumtable-expando">
    


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            Object
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">clone</span>()
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            boolean
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">equals</span>(Object arg0)
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">finalize</span>()
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            final
            
            
            Class&lt;?&gt;
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">getClass</span>()
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            int
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">hashCode</span>()
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            final
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">notify</span>()
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            final
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">notifyAll</span>()
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            
            
            
            String
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">toString</span>()
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            final
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">wait</span>(long arg0, int arg1)
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            
            
            final
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">wait</span>(long arg0)
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            
            
            final
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad">wait</span>()
        
  </td></tr>


</table>
  </div>
</div>
</td></tr>



<tr class="api apilevel-" >
<td colspan="12">
  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-com.facebook.drawee.interfaces.DraweeHierarchy" class="jd-expando-trigger closed"
          ><img id="inherited-methods-com.facebook.drawee.interfaces.DraweeHierarchy-trigger"
          src="../../../../../assets/images/triangle-closed.png"
          class="jd-expando-trigger-img" /></a>
From interface

  <a href="../../../../com/facebook/drawee/interfaces/DraweeHierarchy.html">com.facebook.drawee.interfaces.DraweeHierarchy</a>

<div id="inherited-methods-com.facebook.drawee.interfaces.DraweeHierarchy">
  <div id="inherited-methods-com.facebook.drawee.interfaces.DraweeHierarchy-list"
        class="jd-inheritedlinks">
  </div>
  <div id="inherited-methods-com.facebook.drawee.interfaces.DraweeHierarchy-summary" style="display: none;">
    <table class="jd-sumtable-expando">
    


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            Drawable
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/interfaces/DraweeHierarchy.html#getTopLevelDrawable()">getTopLevelDrawable</a></span>()
        
        <div class="jd-descrdiv">Returns the top level drawable in the corresponding hierarchy.</div>
  
  </td></tr>


</table>
  </div>
</div>
</td></tr>



<tr class="api apilevel-" >
<td colspan="12">
  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-com.facebook.drawee.interfaces.SettableDraweeHierarchy" class="jd-expando-trigger closed"
          ><img id="inherited-methods-com.facebook.drawee.interfaces.SettableDraweeHierarchy-trigger"
          src="../../../../../assets/images/triangle-closed.png"
          class="jd-expando-trigger-img" /></a>
From interface

  <a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html">com.facebook.drawee.interfaces.SettableDraweeHierarchy</a>

<div id="inherited-methods-com.facebook.drawee.interfaces.SettableDraweeHierarchy">
  <div id="inherited-methods-com.facebook.drawee.interfaces.SettableDraweeHierarchy-list"
        class="jd-inheritedlinks">
  </div>
  <div id="inherited-methods-com.facebook.drawee.interfaces.SettableDraweeHierarchy-summary" style="display: none;">
    <table class="jd-sumtable-expando">
    


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html#reset()">reset</a></span>()
        
        <div class="jd-descrdiv">Called by controller when the hierarchy should be reset to its initial state.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html#setControllerOverlay(android.graphics.drawable.Drawable)">setControllerOverlay</a></span>(Drawable drawable)
        
        <div class="jd-descrdiv">Called by controller if it needs to display some controller overlay.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html#setFailure(java.lang.Throwable)">setFailure</a></span>(Throwable throwable)
        
        <div class="jd-descrdiv">Called by controller when the future that provides the actual image completes with failure.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html#setImage(android.graphics.drawable.Drawable, float, boolean)">setImage</a></span>(Drawable drawable, float progress, boolean immediate)
        
        <div class="jd-descrdiv">Called by controller when the future that provides the actual image completes successfully.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html#setProgress(float, boolean)">setProgress</a></span>(float progress, boolean immediate)
        
        <div class="jd-descrdiv">Called by controller to update the progress.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol">
            abstract
            
            
            
            
            void
        </td>
        <td class="jd-linkcol" width="100%">
        <span class="sympad"><a href="../../../../com/facebook/drawee/interfaces/SettableDraweeHierarchy.html#setRetry(java.lang.Throwable)">setRetry</a></span>(Throwable throwable)
        
        <div class="jd-descrdiv">Called by controller when the future that provides the actual image completes with failure,
 but the controller is prepared to kick off a retry when the user clicks on the image.</div>
  
  </td></tr>


</table>
  </div>
</div>
</td></tr>


</table>


</div><!-- jd-descr (summary) -->

<!-- Details -->








<!-- XML Attributes -->


<!-- Enum Values -->


<!-- Constants -->


<!-- Fields -->


<!-- Public ctors -->



<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- Protected ctors -->



<!-- ========= METHOD DETAIL ======== -->
<!-- Public methdos -->

<h2>Public Methods</h2>



<a id="getActualImageBounds(android.graphics.RectF)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">getActualImageBounds</span>
      <span class="normal">(RectF outBounds)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Gets the non-cropped post-scaling bounds of the actual image. </p></div>

    </div>
</div>


<a id="getActualImageScaleType()"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a>
      </span>
      <span class="sympad">getActualImageScaleType</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p></p></div>

    </div>
</div>


<a id="getFadeDuration()"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        int
      </span>
      <span class="sympad">getFadeDuration</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Gets the fade duration. </p></div>

    </div>
</div>


<a id="getRoundingParams()"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        <a href="../../../../com/facebook/drawee/generic/RoundingParams.html">RoundingParams</a>
      </span>
      <span class="sympad">getRoundingParams</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Gets the rounding params. </p></div>

    </div>
</div>


<a id="getTopLevelDrawable()"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        Drawable
      </span>
      <span class="sympad">getTopLevelDrawable</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns the top level drawable in the corresponding hierarchy. Hierarchy should always have
 the same instance of its top level drawable.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Returns</h5>
      <ul class="nolist"><li>top level drawable
</li></ul>
  </div>

    </div>
</div>


<a id="hasPlaceholderImage()"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        boolean
      </span>
      <span class="sympad">hasPlaceholderImage</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p></p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Returns</h5>
      <ul class="nolist"><li>true if there is a placeholder image set.
</li></ul>
  </div>

    </div>
</div>


<a id="reset()"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">reset</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Called by controller when the hierarchy should be reset to its initial state. Any image
 previously set by <code>setImage</code> should be detached and not used anymore.
</p></div>

    </div>
</div>


<a id="setActualImageColorFilter(android.graphics.ColorFilter)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setActualImageColorFilter</span>
      <span class="normal">(ColorFilter colorfilter)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the color filter to be applied on the actual image. </p></div>

    </div>
</div>


<a id="setActualImageFocusPoint(android.graphics.PointF)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setActualImageFocusPoint</span>
      <span class="normal">(PointF focusPoint)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the actual image focus point. </p></div>

    </div>
</div>


<a id="setActualImageScaleType(com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setActualImageScaleType</span>
      <span class="normal">(<a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the actual image scale type. </p></div>

    </div>
</div>


<a id="setBackgroundImage(android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setBackgroundImage</span>
      <span class="normal">(Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the background image if allowed. </p></div>

    </div>
</div>


<a id="setControllerOverlay(android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setControllerOverlay</span>
      <span class="normal">(Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Called by controller if it needs to display some controller overlay.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>drawable</th>
          <td>drawable to be displayed as controller overlay
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setFadeDuration(int)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setFadeDuration</span>
      <span class="normal">(int durationMs)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the fade duration. </p></div>

    </div>
</div>


<a id="setFailure(java.lang.Throwable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setFailure</span>
      <span class="normal">(Throwable throwable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Called by controller when the future that provides the actual image completes with failure.
 Hierarchy can choose to display between different images based on cause of failure.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>throwable</th>
          <td>cause of failure
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setFailureImage(android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setFailureImage</span>
      <span class="normal">(Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new failure drawable with old scale type. </p></div>

    </div>
</div>


<a id="setFailureImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setFailureImage</span>
      <span class="normal">(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new failure drawable with scale type. </p></div>

    </div>
</div>


<a id="setFailureImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setFailureImage</span>
      <span class="normal">(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new failure drawable with scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.</td>
        </tr>
        <tr>
          <th>scaleType</th>
          <td>a new scale type.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setFailureImage(int)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setFailureImage</span>
      <span class="normal">(int resourceId)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new failure drawable with old scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setImage(android.graphics.drawable.Drawable, float, boolean)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setImage</span>
      <span class="normal">(Drawable drawable, float progress, boolean immediate)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Called by controller when the future that provides the actual image completes successfully.
 Hierarchy should display the actual image.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>drawable</th>
          <td>drawable to be set as the temporary image</td>
        </tr>
        <tr>
          <th>progress</th>
          <td>number in range [0, 1] that indicates progress</td>
        </tr>
        <tr>
          <th>immediate</th>
          <td>if true, image will be shown immediately (without fade effect)
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setOverlayImage(int, android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setOverlayImage</span>
      <span class="normal">(int index, Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new overlay image at the specified index.

 This method will throw if the given index is out of bounds.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>drawable</th>
          <td>background image
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setOverlayImage(android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setOverlayImage</span>
      <span class="normal">(Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the overlay image if allowed. </p></div>

    </div>
</div>


<a id="setPlaceholderImage(android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setPlaceholderImage</span>
      <span class="normal">(Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new placeholder drawable with old scale type. </p></div>

    </div>
</div>


<a id="setPlaceholderImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setPlaceholderImage</span>
      <span class="normal">(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new placeholder drawable with scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.</td>
        </tr>
        <tr>
          <th>scaleType</th>
          <td>a new scale type.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setPlaceholderImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setPlaceholderImage</span>
      <span class="normal">(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new placeholder drawable with scale type. </p></div>

    </div>
</div>


<a id="setPlaceholderImage(int)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setPlaceholderImage</span>
      <span class="normal">(int resourceId)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new placeholder drawable with old scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setPlaceholderImageFocusPoint(android.graphics.PointF)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setPlaceholderImageFocusPoint</span>
      <span class="normal">(PointF focusPoint)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the placeholder image focus point. </p></div>

    </div>
</div>


<a id="setProgress(float, boolean)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setProgress</span>
      <span class="normal">(float progress, boolean immediate)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Called by controller to update the progress.
 Hierarchy can choose to hide the progressbar when progress is set to its final value of 1.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>progress</th>
          <td>number in range [0, 1] that indicates progress</td>
        </tr>
        <tr>
          <th>immediate</th>
          <td>if true, progressbar will be shown/hidden immediately (without fade effect)
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setProgressBarImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setProgressBarImage</span>
      <span class="normal">(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new progress bar drawable with scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.</td>
        </tr>
        <tr>
          <th>scaleType</th>
          <td>a new scale type.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setProgressBarImage(android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setProgressBarImage</span>
      <span class="normal">(Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new progress bar drawable with old scale type. </p></div>

    </div>
</div>


<a id="setProgressBarImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setProgressBarImage</span>
      <span class="normal">(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new progress bar drawable with scale type. </p></div>

    </div>
</div>


<a id="setProgressBarImage(int)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setProgressBarImage</span>
      <span class="normal">(int resourceId)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new progress bar drawable with old scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setRetry(java.lang.Throwable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setRetry</span>
      <span class="normal">(Throwable throwable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Called by controller when the future that provides the actual image completes with failure,
 but the controller is prepared to kick off a retry when the user clicks on the image.
 Hierarchy can choose to display a retry image.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>throwable</th>
          <td>cause of failure
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setRetryImage(int, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setRetryImage</span>
      <span class="normal">(int resourceId, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new retry drawable with scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.</td>
        </tr>
        <tr>
          <th>scaleType</th>
          <td>a new scale type.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setRetryImage(int)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setRetryImage</span>
      <span class="normal">(int resourceId)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new retry drawable with old scale type.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>resourceId</th>
          <td>an identifier of an Android drawable or color resource.
</td>
        </tr>
      </table>
  </div>

    </div>
</div>


<a id="setRetryImage(android.graphics.drawable.Drawable, com.facebook.drawee.drawable.ScalingUtils.ScaleType)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setRetryImage</span>
      <span class="normal">(Drawable drawable, <a href="../../../../com/facebook/drawee/drawable/ScalingUtils.ScaleType.html">ScalingUtils.ScaleType</a> scaleType)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new retry drawable with scale type. </p></div>

    </div>
</div>


<a id="setRetryImage(android.graphics.drawable.Drawable)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setRetryImage</span>
      <span class="normal">(Drawable drawable)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets a new retry drawable with old scale type. </p></div>

    </div>
</div>


<a id="setRoundingParams(com.facebook.drawee.generic.RoundingParams)"></a>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
         
         
         
         
        void
      </span>
      <span class="sympad">setRoundingParams</span>
      <span class="normal">(<a href="../../../../com/facebook/drawee/generic/RoundingParams.html">RoundingParams</a> roundingParams)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sets the rounding params. </p></div>

    </div>
</div>





<!-- ========= METHOD DETAIL ======== -->



<!-- ========= END OF CLASS DATA ========= -->
<a id="navbar_top"></a>

<div id="footer">
Generated by <a href="http://code.google.com/p/doclava/">Doclava</a>.
</div> <!-- end footer -->

</div> <!-- jd-content -->

</div><!-- end doc-content -->

</div> <!-- end body-content --> 

<script type="text/javascript">
init(); /* initialize doclava-developer-docs.js */
</script>

</body>
</html>
